<div class="form" style="padding-left: 10px;">
    <h1 style="text-align: center;">Thống kê</h1>
    <div id="tabs">

        <ul>
            <li><a href="#fragment-1"><span>Lô Đề</span> </a></li>
            <li><a href="#fragment-2"><span>Đặt Boom</span> </a></li>
            <li><a href="#fragment-3"><span>Trắng Đen</span> </a></li>
            <li><a href="#fragment-4"><span>Đoàn Tàu May Mắn</span> </a></li>
        </ul>
        
        <div id="fragment-1">
            <?php if(count($lodeHistory)): ?>
            <table width="98%" border="1" cellpadding="4" cellspacing="4">
                <tr>
                    <th>STT</th>
                    <th>Ngày chơi</th>
                    <th>Loại trò chơi</th>
                    <th>Các số đã đặt cược</th>
                    <th>Tiền cược</th>
                    <th>Tiền thắng</th>
                </tr>
                <?php foreach ($lodeHistory as $index => $luotChoi): ?>
                <tr>
                    <td><?php echo $index+1; ?></td>
                    <td><?php echo $luotChoi['play_date']; ?></td>
                    <td><?php echo $luotChoi['lode_type_name']; ?></td>
                    <td><?php echo $luotChoi['choices']; ?></td>
                    <td><?php echo $luotChoi['bet']; ?>$</td>
                    <td><?php echo $luotChoi['win_money']; ?> $</td>
                </tr>
                <?php endforeach; ?>
            </table>
            <?php endif; ?>
        </div>
        <div id="fragment-2">
            2
        </div>
        <div id="fragment-3">
            3
        </div>
        <div id="fragment-4">
            4
        </div>
       
    </div>
</div><!-- form -->
